package com.ryskoo.cms.decorate.channel.service;

import com.ryskoo.cms.decorate.channel.domain.ChannelPO;
import com.ryskoo.cms.decorate.channel.repository.IChannelRepository;
import com.ryskoo.framework.core.service.BasicServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import javax.annotation.PostConstruct;

/**
 * @author thq
 * @data 2018-05-03
 */
@Service
public class ChannelServiceImpl extends BasicServiceImpl<ChannelPO> implements IChannelService{
    @Autowired
    private IChannelRepository channelRepository;

    @PostConstruct
    public void init(){
        this.setDao(channelRepository);
    }
}
